import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
import 'amfe-flexible/index.js'

// rem
import './util/rem'

// iconfont
import './assets/iconfont/iconfont'
import './assets/iconfont/iconfont.css'

// 配置路由
import route from './config/router'
app.use(route)

// vant
// import 'vant/lib/index.css'
import {
    Swipe,
    SwipeItem,
    Button,
    NavBar,
    Icon,
    Checkbox,
    SubmitBar,
    Stepper,
    List,
    Skeleton,
    ActionBar,
    ActionBarIcon,
    ActionBarButton,
    Sticky
} from 'vant'


app.use(Button);
app.use(Swipe);
app.use(SwipeItem);
app.use(NavBar);
app.use(Icon);
app.use(Checkbox);
app.use(SubmitBar);
app.use(Stepper);
app.use(List);
app.use(Skeleton);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(Sticky );

app.mount('#app')
